package club.xyes.zkh.ecommerce.web.backstage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Create by 郭文梁 2019/4/16 0016 17:37
 * IndexController
 * 索引访问控制器
 *
 * @author 郭文梁
 * @data 2019/4/16 0016
 */
@Controller
@RequestMapping("/")
public class IndexController {
    /**
     * 到首页
     *
     * @return 视图名称
     */
    @GetMapping
    public String index() {
        return "index";
    }
}
